package com.briup.day1;

import java.math.BigDecimal;

public class Test1 {
    public static void main(String[] args) {
        double a1 = 13.3;
        double b1 = 5699.0;
        int c1 = 5;

        double a2 = 14.0;
        double b2 = 8499.0;
        int c2 = 10;

        double a3 = 14.0;
        double b3 = 7199.0;
        int c3 = 18;

        System.out.println("-------------商场库存清单-------------");
        System.out.println("品牌型号\t\t\t尺寸\t\t价格\t\t库存");
        System.out.println("MacBookAir\t\t"+a1+"\t"+b1+"\t"+c1);
        System.out.println("ThinkPadT490\t"+a2+"\t"+b2+"\t"+c3);
        System.out.println("MateBook 14\t\t"+a3+"\t"+b3+"\t"+c3);
        System.out.println("------------------------------------");
        System.out.println("总库存数: " + (c1+c2+c3));
        System.out.println("商品库存总金额: " + (b1+b2+b3));
    }
}
